package com.spzx.product.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.spzx.product.api.domain.Brand;
import com.spzx.product.domain.CategoryBrand;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @Author ChenXing
 * @Description
 * @Create 2024/7/28 17:55
 */

@Mapper
public interface CategoryBrandMapper extends BaseMapper<CategoryBrand> {

     List<CategoryBrand> selectCategoryBrandList(CategoryBrand categoryBrand);

     List<Brand> selectBrandListByCategory(Long id);


}
